#include "GateEventHandlerPlugin.h"
#include "GateServerRoot.h"
#include "ProxyEventHandlerImpl.h"


CGateEventHandlerPlugin::CGateEventHandlerPlugin(void)
{
}


CGateEventHandlerPlugin::~CGateEventHandlerPlugin(void)
{
}

const char * CGateEventHandlerPlugin::GetName() const
{
    return "GateEventHandlerPlugin";
}

void CGateEventHandlerPlugin::install()
{

}

void CGateEventHandlerPlugin::initialise()
{
    GateServerRoot::Instance()->SetProxyEventHandlerFactory(CProxyEventHandlerFactory::Instance());
}

void CGateEventHandlerPlugin::shutdown()
{

}

void CGateEventHandlerPlugin::uninstall()
{
     GateServerRoot::Instance()->SetProxyEventHandlerFactory(NULL);
     CProxyEventHandlerFactory::DestroyInstance();
}
